package com.linkhub.oms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.FieldNameConstants;

/**
 * @author Jaycle
 * @version 1.0.0
 * @Description LocalProductAmountDeclaresInfoEntity.java
 * @createTime 2024/06/18 23:34
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_local_product_amount_declares_info")
@ApiModel(value = "LocalProductAmountDeclaresInfo对象", description = "本地产品申报金额详情表")
@FieldNameConstants
public class LocalProductAmountDeclaresInfoEntity implements Serializable {

    @ApiModelProperty(value = "主键")
    @TableId(value = "Fid", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    @TableField("Fuser_id")
    private String userId;

    @ApiModelProperty(value = "本地商品skuId")
    @TableField("Fsku_id")
    private String skuId;

    @ApiModelProperty(value = "申报国家：1-美国；2-加拿大；3-日本；4-欧盟；5-其它")
    @TableField("Fdeclare_country")
    private Integer declareCountry;

    @ApiModelProperty(value = "申报方式: 1-按固定金额；2-按订单金额")
    @TableField("Fdeclare_method")
    private Integer declareMethod;

    @ApiModelProperty(value = "申报金额/比例，金额需大于0，比例需大于0小于1")
    @TableField("Fdeclare_value")
    private BigDecimal declareValue;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "Fcreated_time")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "Fupdate_time")
    private LocalDateTime updateTime;
}
